package ve.com.ucv.changedetection.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by josmaguirre on 2/01/15.
 */
@Controller
@RequestMapping("/index")
public class TestService {
    @RequestMapping(method = RequestMethod.GET)
    public String printHello(ModelMap model) {
        model.addAttribute("message", "Pagina Principal");

        return "/view/index";
    }
}
